package com.water.wfo.user.api;

import com.water.wfo.component.api.entity.response.BasicResponse;
import com.water.wfo.sys.pojo.entity.DataDictionaryEntity;
import com.water.wfo.sys.pojo.request.DataDictionaryRequest;
import com.water.wfo.sys.pojo.response.DataDictionaryResponse;
import com.water.wfo.sys.pojo.response.MenuResponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * packageName com.water.wfo.user.api
 *
 * @author junhuili
 * @version JDK 8
 * @date 2024/5/18
 * @description TODO
 */
@RequestMapping("/dataDictionary")
public interface DataDictionaryApi {
    /**
     * @Author Administrator
     * @Description 查询
     * * @param map
     * @Return com.water.wfo.component.api.entity.response.BasicResponse<java.lang.String>
     * @Date 2024/11/29 17:26
     *
     */
    @PostMapping("/queryDataDictionList")
    BasicResponse<DataDictionaryResponse> queryDataDictionList(DataDictionaryRequest request);
    /**
     * @Author Administrator
     * @Description 新增
     * * @param map
     * @Return com.water.wfo.component.api.entity.response.BasicResponse<java.lang.String>
     * @Date 2024/11/29 17:26
     *
     */
    @PostMapping("/addDataDiction")
    BasicResponse<String> addDataDictionInfo(DataDictionaryEntity dictionaryEntity);
    /**
     * @Author Administrator
     * @Description 编辑
     * * @param map
     * @Return com.water.wfo.component.api.entity.response.BasicResponse<java.lang.String>
     * @Date 2024/11/29 17:26
     *
     */
    @PostMapping("/editeDataDictionInfo")
    BasicResponse<String> editeMenuInfo(DataDictionaryEntity dictionaryEntity);
    /**
     * @Author Administrator
     * @Description 批量
     * * @param map
     * @Return com.water.wfo.component.api.entity.response.BasicResponse<java.lang.String>
     * @Date 2024/11/29 17:26
     *
     */
    @PostMapping("/batchDataDiction")
    BasicResponse<String> batchDataDiction(Map<String,Object> map);
}
